package com.aboverock.module.system.service;

// import com.aboverock.datalake.exceptions.DatalakeDataParseException;
// import com.aboverock.datalake.exceptions.DatalakeRequestException;
import com.aboverock.module.system.domain.Department;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Rock Wang
 * @since 2018-05-11
 */
public interface DepartmentService extends IService<Department> {

    /**
     * Select by dept no.
     *
     * @param deptNo the dept no
     * @return the department
     */
    public Department selectByDeptNo(String deptNo);

    /**
     * 数据湖更新部门信息.
     *
     * @throws DatalakeRequestException the datalake request exception
     * @throws DatalakeDataParseException the datalake data parse exception
     */
    // public void updateDeptsFromDatalake() throws DatalakeRequestException, DatalakeDataParseException;
}
